package com.junjie.food.orderServiceManager.dto;

import com.junjie.food.orderServiceManager.enummeration.OrderStatus;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;

@Getter
@Setter
@ToString
// 不要使用基础类，因为可能有些值为空，那么用包装类会更好一点
public class OrderMessageDTO {
    // 订单ID
    private Integer orderId;
    // 订单状态
    private OrderStatus orderStatus;
    // 价格 钱绝对不能用float和double
    private BigDecimal price;
    // 骑手ID
    private Integer deliverymanId;
    // 产品ID
    private Integer productId;
    // 用户ID
    private Integer accountId;
    // 结算ID
    private Integer settlementId;
    // 积分结算ID
    private Integer rewardId;
    // 积分奖励数量
    private Integer rewardAmount;
    // 确认
    private Boolean confirmed;
}
